# -*- coding: utf-8 -*-
"""
 @Time    : 2021/2/1 下午5:12
 @Author  : tgy
 
"""

class A:
    age = 10


class B:
    ...
    # age = 20


class C:
    ...
    # age = 30

class F(B,C):
    ...

class E(A):
    ...
    age = 50

"""
              A
           / \  \
          B   C  \
           \/     \
            F      E
            |    /
               D

上面使用的是拓扑排序
"""
class D(F,E):
    ...


if __name__ == '__main__':
    ...
    print(D.age)
    print(D.__mro__)